#include "VxIrrLib.h"

//------------------------------------------------------------------------------
//=== constructor ===//
GameStateBase::GameStateBase()
	: m_poIrrBase(0)
	, m_poDriver(0)			// irrlicht video driver
	, m_poSceneMgr(0)		// irrlicht scene manager
	, m_poGui(0)			// irrlicht gui driver
	, m_poCollideMgr(0)
{

}
//------------------------------------------------------------------------------
//=== destructor ===//
GameStateBase::~GameStateBase()
{

}
//------------------------------------------------------------------------------
//! startup
RCODE GameStateBase::GameStateStartup( VxIrrBase * poIrrBase )
{
	log_msg( 0, "GameStateBase::GameStateStartup: start\n" );

	m_poIrrBase		= poIrrBase;
	m_poDriver		= m_poIrrBase->m_poDriver;			// irrlicht video driver
	m_poSceneMgr	= m_poIrrBase->m_poSceneMgr;		// irrlicht scene manager
	m_poGui			= m_poIrrBase->m_poGui;			// irrlicht gui driver
	m_poCollideMgr	= m_poIrrBase->m_poCollideMgr;
	log_msg( 0, "GameStateBase::GameStateStartup: success\n" );
	return 0;
}
